#ifndef CompileOnline
#include "header.cpp"
#endif




void Test1()
{
    std::vector<int> v1{1,2,3,4};
    int ret = Solution().Max(v1);
    if (ret==4)
    {
        std::cout << "Test1 pass!" << std::endl;
    }
    else
    {
        std::cout << "Test1 failed!" << std::endl;
    }
}
void Test2()
{
    std::vector<int> v2{6,6,6,6,6};
    bool ret = Solution().Max(v2);
    if (ret==6)
    {
        std::cout << "Test2 pass!" << std::endl;
    }
    else
    {
        std::cout << "Test2 failed!" << std::endl;
    }
}

int main()
{

Test1();
Test2();
    return 0;
}